home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / python-support / python-rdflib / rdflib / RDF.py < prev    next >
Encoding:
Python Source  |  2007-04-04  |  800 b   |  37 lines

  1. from rdflib.Namespace import Namespace
  2.  
  3. RDFNS = Namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#")
  4.  
  5. # Syntax names
  6. RDF = RDFNS["RDF"]
  7. Description = RDFNS["Description"]
  8. ID = RDFNS["ID"]
  9. about = RDFNS["about"]
  10. parseType = RDFNS["parseType"]
  11. resource = RDFNS["resource"]
  12. li = RDFNS["li"]
  13. nodeID = RDFNS["nodeID"]
  14. datatype = RDFNS["datatype"]
  15.  
  16. # RDF Classes
  17. Seq = RDFNS["Seq"]
  18. Bag = RDFNS["Bag"]
  19. Alt = RDFNS["Alt"]
  20. Statement = RDFNS["Statement"]
  21. Property = RDFNS["Property"]
  22. XMLLiteral = RDFNS["XMLLiteral"]
  23. List = RDFNS["List"]
  24.  
  25. # RDF Properties
  26. subject = RDFNS["subject"]
  27. predicate = RDFNS["predicate"]
  28. object = RDFNS["object"]
  29. type = RDFNS["type"]
  30. value = RDFNS["value"]
  31. first = RDFNS["first"]
  32. rest = RDFNS["rest"]
  33. # and _n where n is a non-negative integer
  34.  
  35. # RDF Resources
  36. nil = RDFNS["nil"]
  37.